package cn.bdqn.fast.entity;

import java.time.LocalDateTime;

/**
 * 购物车
 */
public class ShoppingCart {
    private Integer shoppingCartId;//购物车id
    private Integer dishId;//菜品id
    private Integer setmealId;//套餐id
    private Integer userId;//用户id
    private Integer shopId;//商家id
    private String name;//名称
    private String image;//图片
    private String dishFlavor;//口味
    private Integer quantity;//数量
    private double amount;//实收金额
    private LocalDateTime createTime;//创建时间

    public ShoppingCart() {
    }

    public ShoppingCart(Integer shoppingCartId, Integer dishId, Integer setmealId, Integer userId, Integer shopId, String name, String image, String dishFlavor, Integer quantity, double amount, LocalDateTime createTime) {
        this.shoppingCartId = shoppingCartId;
        this.dishId = dishId;
        this.setmealId = setmealId;
        this.userId = userId;
        this.shopId = shopId;
        this.name = name;
        this.image = image;
        this.dishFlavor = dishFlavor;
        this.quantity = quantity;
        this.amount = amount;
        this.createTime = createTime;
    }

    public Integer getShoppingCartId() {
        return shoppingCartId;
    }

    public void setShoppingCartId(Integer shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public Integer getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(Integer setmealId) {
        this.setmealId = setmealId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDishFlavor() {
        return dishFlavor;
    }

    public void setDishFlavor(String dishFlavor) {
        this.dishFlavor = dishFlavor;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
